package com.layui.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @packageName: com.layui.controller
 * @name: PageController
 * @description:
 * @author: 董定卓
 * @dateTime: 2018/8/6 11:17
 */
@Controller
public class PageController {

    @RequestMapping("/")
    public String defaultIndex() {
        return "index";
    }

    @RequestMapping("index.html")
    public String defaultIndex2() {
        return "index";
    }

    @RequestMapping("test1.html")
    public String test1() {
        return "test1";
    }

    @RequestMapping("test2.html")
    public String test2() {
        return "test2";
    }

    @RequestMapping("test3.html")
    public String test3() {
        return "test3";
    }

    @RequestMapping("test4.html")
    public String test4() {
        return "test4";
    }

    @RequestMapping("test5.html")
    public String test5() {
        return "test5";
    }

}
